<?php if (!defined('BASEPATH')) exit('No direct script access allowed.');

class MY_Form_validation extends CI_Form_validation {

    function __construct()
    {
        parent::__construct(); 
    }

    function dropdown_check($str)
    {
        $CI =& get_instance();

        $CI->form_validation->set_message('dropdown_check', 'Please select %s.');
        
        return ($str=='0') ? FALSE : TRUE;
    }

}